package com.lanou3g.bookstore.order.domain;

import com.lanou3g.bookstore.book.domain.Book;

public class OrderItem {
    private String iid;//自己的id
    private Integer count;//这本书的数量
    private Double subtotal;//这本书的合计钱数
    private String oid;//哪个订单
    private String bid;//哪本书
    private Book book;//书的内容

    public String getIid() {
        return iid;
    }

    public OrderItem setIid(String iid) {
        this.iid = iid;
        return this;
    }

    public Integer getCount() {
        return count;
    }

    public OrderItem setCount(Integer count) {
        this.count = count;
        return this;
    }

    public Double getSubtotal() {
        return subtotal;
    }

    public OrderItem setSubtotal(Double subtotal) {
        this.subtotal = subtotal;
        return this;
    }

    public String getOid() {
        return oid;
    }

    public OrderItem setOid(String oid) {
        this.oid = oid;
        return this;
    }

    public String getBid() {
        return bid;
    }

    public OrderItem setBid(String bid) {
        this.bid = bid;
        return this;
    }

    public Book getBook() {
        return book;
    }

    public OrderItem setBook(Book book) {
        this.book = book;
        return this;
    }
}
